<?php
namespace app\api\controller;

use app\common\model as M;

/**
 *
 */
class HotSearch extends \app\api\ApiBase
{
    public $model = '\app\common\model\Hotsearch';

    /**
     * 热门搜索词
     * @Author   FW
     * @DateTime 2024-03-13
     * @Email    123763712@qq.com
     * @return   [type]           [description]
     */
    public function words()
    {
        return $this->returnSuccess($this->model::where('status',1)->order('sort ASC')->select());
    }

}//Class End